05997274aca9b30887ca73b64ec73e5923d85167,examples/hadoop-and-whirr/src/main/java/brooklyn/extras/whirr/WhirrExample.java,WhirrExample,main,#String[]#,37

Before Change



        Location loc = server.getManagementContext().getLocationRegistry().resolve(location);

        BasicApplication app = (BasicApplication) new WhirrExample()
                .manage(server.getManagementContext());
        
        app.start(ImmutableList.of(loc));
        

After Change


        Location loc = server.getManagementContext().getLocationRegistry().resolve(location);

        StartableApplication app = new WhirrExample()
                .manage(server.getManagementContext());
        
        app.start(ImmutableList.of(loc));